home *** CD-ROM | disk | FTP | other *** search
/ Aminet 45 / Aminet 45 (2001)(GTI - Schatztruhe)[!][Oct 2001].iso / Aminet / game / role / ldmud-3.2-bin.lha / mud / doc / efun / db_insert_id < prev    next >
Text File  |  2001-06-18  |  579b  |  20 lines

  1. OPTIONAL
  2. SYNOPSIS
  3.         int db_insert_id (int handle)
  4.  
  5. DESCRIPTION
  6.         After inserting a line into a table with an AUTO_INCREMENT field,
  7.         this efun can be used to return the (new) value of the AUTO_INCREMENT
  8.         field.
  9.  
  10.         The function is available only if the driver is compiled with
  11.         mySQL support. In that case, __MYSQL__ is defined.
  12.  
  13. HISTORY
  14.         Added in 3.2.9 .
  15.  
  16. SEE ALSO
  17.         db_affected_rows(E), db_conv_string(E), db_close(E), db_coldefs(E),
  18.         db_connect(E), db_error(E), db_exec(E), db_fetch(E), db_handles(E),
  19.         mysql(C)
  20.